<?php
	
	include ("madlib.php");
	//error_reporting(E_ALL);


	$obj = new madLib();
	$obj->debug->form();
	
	echo $obj->security->sanitizeXSS("@#~45%&/()!!)");
	
	echo "<hr>";
	
	
	//Los diferentes saltos se configuran en /modules/security.module.php
	$string = "madhacking-security";
	echo $obj->security->getHashFromPassword($string, 1);
	
	echo "<hr>";
	
	//$obj->debug->alert('asdadsadsadsads');
	//$obj->debug->classMethods('madLib');
	//$obj->debug->defaultClassProperties('madLib');
	$obj->debug->print_r($obj);
	
	print_r($obj->url->getSegments());
	
	//No es obligatorio
    $obj->closeLibrary();


?>